home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / layout / nsITreeBoxObject.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  20KB  |  492 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsITreeBoxObject.idl
  3.  */
  4.  
  5. #ifndef __gen_nsITreeBoxObject_h__
  6. #define __gen_nsITreeBoxObject_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_domstubs_h__
  14. #include "domstubs.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21. class nsITreeView; /* forward declaration */
  22.  
  23. class nsITreeSelection; /* forward declaration */
  24.  
  25. class nsITreeColumn; /* forward declaration */
  26.  
  27. class nsITreeColumns; /* forward declaration */
  28.  
  29.  
  30. /* starting interface:    nsITreeBoxObject */
  31. #define NS_ITREEBOXOBJECT_IID_STR "55f3b431-1aa8-4e23-ad3d-a9f5644bdaa6"
  32.  
  33. #define NS_ITREEBOXOBJECT_IID \
  34.   {0x55f3b431, 0x1aa8, 0x4e23, \
  35.     { 0xad, 0x3d, 0xa9, 0xf5, 0x64, 0x4b, 0xda, 0xa6 }}
  36.  
  37. class NS_NO_VTABLE nsITreeBoxObject : public nsISupports {
  38.  public: 
  39.  
  40.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ITREEBOXOBJECT_IID)
  41.  
  42.   /**
  43.    * Obtain the columns.
  44.    */
  45.   /* readonly attribute nsITreeColumns columns; */
  46.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) = 0;
  47.  
  48.   /**
  49.    * The view that backs the tree and that supplies it with its data.
  50.    * It is dynamically settable, either using a view attribute on the
  51.    * tree tag or by setting this attribute to a new value.
  52.    */
  53.   /* attribute nsITreeView view; */
  54.   NS_IMETHOD GetView(nsITreeView * *aView) = 0;
  55.   NS_IMETHOD SetView(nsITreeView * aView) = 0;
  56.  
  57.   /**
  58.    * Whether or not we are currently focused.
  59.    */
  60.   /* attribute boolean focused; */
  61.   NS_IMETHOD GetFocused(PRBool *aFocused) = 0;
  62.   NS_IMETHOD SetFocused(PRBool aFocused) = 0;
  63.  
  64.   /**
  65.    * Obtain the treebody content node
  66.    */
  67.   /* readonly attribute nsIDOMElement treeBody; */
  68.   NS_IMETHOD GetTreeBody(nsIDOMElement * *aTreeBody) = 0;
  69.  
  70.   /**
  71.    * Obtain the height of a row.
  72.    */
  73.   /* readonly attribute long rowHeight; */
  74.   NS_IMETHOD GetRowHeight(PRInt32 *aRowHeight) = 0;
  75.  
  76.   /**
  77.    * Get the index of the first visible row.
  78.    */
  79.   /* long getFirstVisibleRow (); */
  80.   NS_IMETHOD GetFirstVisibleRow(PRInt32 *_retval) = 0;
  81.  
  82.   /**
  83.    * Get the index of the last visible row.
  84.    */
  85.   /* long getLastVisibleRow (); */
  86.   NS_IMETHOD GetLastVisibleRow(PRInt32 *_retval) = 0;
  87.  
  88.   /**
  89.    * Gets the number of possible visible rows.
  90.    */
  91.   /* long getPageLength (); */
  92.   NS_IMETHOD GetPageLength(PRInt32 *_retval) = 0;
  93.  
  94.   /**
  95.    * Ensures that a row at a given index is visible.
  96.    */
  97.   /* void ensureRowIsVisible (in long index); */
  98.   NS_IMETHOD EnsureRowIsVisible(PRInt32 index) = 0;
  99.  
  100.   /**
  101.    * Scrolls such that the row at index is at the top of the visible view.
  102.    */
  103.   /* void scrollToRow (in long index); */
  104.   NS_IMETHOD ScrollToRow(PRInt32 index) = 0;
  105.  
  106.   /**
  107.    * Scroll the tree up or down by numLines lines. Positive
  108.    * values move down in the tree. Prevents scrolling off the
  109.    * end of the tree. 
  110.    */
  111.   /* void scrollByLines (in long numLines); */
  112.   NS_IMETHOD ScrollByLines(PRInt32 numLines) = 0;
  113.  
  114.   /**
  115.    * Scroll the tree up or down by numPages pages. A page
  116.    * is considered to be the amount displayed by the tree.
  117.    * Positive values move down in the tree. Prevents scrolling
  118.    * off the end of the tree.
  119.    */
  120.   /* void scrollByPages (in long numPages); */
  121.   NS_IMETHOD ScrollByPages(PRInt32 numPages) = 0;
  122.  
  123.   /**
  124.    * Invalidation methods for fine-grained painting control.
  125.    */
  126.   /* void invalidate (); */
  127.   NS_IMETHOD Invalidate(void) = 0;
  128.  
  129.   /* void invalidateColumn (in nsITreeColumn col); */
  130.   NS_IMETHOD InvalidateColumn(nsITreeColumn *col) = 0;
  131.  
  132.   /* void invalidateRow (in long index); */
  133.   NS_IMETHOD InvalidateRow(PRInt32 index) = 0;
  134.  
  135.   /* void invalidateCell (in long row, in nsITreeColumn col); */
  136.   NS_IMETHOD InvalidateCell(PRInt32 row, nsITreeColumn *col) = 0;
  137.  
  138.   /* void invalidateRange (in long startIndex, in long endIndex); */
  139.   NS_IMETHOD InvalidateRange(PRInt32 startIndex, PRInt32 endIndex) = 0;
  140.  
  141.   /**
  142.    * A hit test that can tell you what row the mouse is over.
  143.    * returns -1 for invalid mouse coordinates.
  144.    *
  145.    * The coordinate system is the client coordinate system for the
  146.    * document this boxObject lives in, and the units are CSS pixels.
  147.    */
  148.   /* long getRowAt (in long x, in long y); */
  149.   NS_IMETHOD GetRowAt(PRInt32 x, PRInt32 y, PRInt32 *_retval) = 0;
  150.  
  151.   /**
  152.    * A hit test that can tell you what cell the mouse is over.  Row is the row index
  153.    * hit,  returns -1 for invalid mouse coordinates.  ColID is the column hit.
  154.    * ChildElt is the pseudoelement hit: this can have values of
  155.    * "cell", "twisty", "image", and "text".
  156.    *
  157.    * The coordinate system is the client coordinate system for the
  158.    * document this boxObject lives in, and the units are CSS pixels.
  159.    */
  160.   /* void getCellAt (in long x, in long y, out long row, out nsITreeColumn col, out ACString childElt); */
  161.   NS_IMETHOD GetCellAt(PRInt32 x, PRInt32 y, PRInt32 *row, nsITreeColumn **col, nsACString & childElt) = 0;
  162.  
  163.   /** 
  164.    * Find the coordinates of an element within a specific cell. 
  165.    */
  166.   /* void getCoordsForCellItem (in long row, in nsITreeColumn col, in ACString element, out long x, out long y, out long width, out long height); */
  167.   NS_IMETHOD GetCoordsForCellItem(PRInt32 row, nsITreeColumn *col, const nsACString & element, PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height) = 0;
  168.  
  169.   /** 
  170.    * Determine if the text of a cell is being cropped or not.
  171.    */
  172.   /* boolean isCellCropped (in long row, in nsITreeColumn col); */
  173.   NS_IMETHOD IsCellCropped(PRInt32 row, nsITreeColumn *col, PRBool *_retval) = 0;
  174.  
  175.   /**
  176.    * The view is responsible for calling these notification methods when
  177.    * rows are added or removed.  Index is the position at which the new
  178.    * rows were added or at which rows were removed.  For
  179.    * non-contiguous additions/removals, this method should be called multiple times.
  180.    */
  181.   /* void rowCountChanged (in long index, in long count); */
  182.   NS_IMETHOD RowCountChanged(PRInt32 index, PRInt32 count) = 0;
  183.  
  184.   /**
  185.    * Notify the tree that the view is about to perform a batch
  186.    * update, that is, add, remove or invalidate several rows at once.
  187.    * This must be followed by calling endUpdateBatch(), otherwise the tree
  188.    * will get out of sync.
  189.    */
  190.   /* void beginUpdateBatch (); */
  191.   NS_IMETHOD BeginUpdateBatch(void) = 0;
  192.  
  193.   /**
  194.    * Notify the tree that the view has completed a batch update.
  195.    */
  196.   /* void endUpdateBatch (); */
  197.   NS_IMETHOD EndUpdateBatch(void) = 0;
  198.  
  199.   /**
  200.    * Called on a theme switch to flush out the tree's style and image caches.
  201.    */
  202.   /* void clearStyleAndImageCaches (); */
  203.   NS_IMETHOD ClearStyleAndImageCaches(void) = 0;
  204.  
  205. };
  206.  
  207. /* Use this macro when declaring classes that implement this interface. */
  208. #define NS_DECL_NSITREEBOXOBJECT \
  209.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns); \
  210.   NS_IMETHOD GetView(nsITreeView * *aView); \
  211.   NS_IMETHOD SetView(nsITreeView * aView); \
  212.   NS_IMETHOD GetFocused(PRBool *aFocused); \
  213.   NS_IMETHOD SetFocused(PRBool aFocused); \
  214.   NS_IMETHOD GetTreeBody(nsIDOMElement * *aTreeBody); \
  215.   NS_IMETHOD GetRowHeight(PRInt32 *aRowHeight); \
  216.   NS_IMETHOD GetFirstVisibleRow(PRInt32 *_retval); \
  217.   NS_IMETHOD GetLastVisibleRow(PRInt32 *_retval); \
  218.   NS_IMETHOD GetPageLength(PRInt32 *_retval); \
  219.   NS_IMETHOD EnsureRowIsVisible(PRInt32 index); \
  220.   NS_IMETHOD ScrollToRow(PRInt32 index); \
  221.   NS_IMETHOD ScrollByLines(PRInt32 numLines); \
  222.   NS_IMETHOD ScrollByPages(PRInt32 numPages); \
  223.   NS_IMETHOD Invalidate(void); \
  224.   NS_IMETHOD InvalidateColumn(nsITreeColumn *col); \
  225.   NS_IMETHOD InvalidateRow(PRInt32 index); \
  226.   NS_IMETHOD InvalidateCell(PRInt32 row, nsITreeColumn *col); \
  227.   NS_IMETHOD InvalidateRange(PRInt32 startIndex, PRInt32 endIndex); \
  228.   NS_IMETHOD GetRowAt(PRInt32 x, PRInt32 y, PRInt32 *_retval); \
  229.   NS_IMETHOD GetCellAt(PRInt32 x, PRInt32 y, PRInt32 *row, nsITreeColumn **col, nsACString & childElt); \
  230.   NS_IMETHOD GetCoordsForCellItem(PRInt32 row, nsITreeColumn *col, const nsACString & element, PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height); \
  231.   NS_IMETHOD IsCellCropped(PRInt32 row, nsITreeColumn *col, PRBool *_retval); \
  232.   NS_IMETHOD RowCountChanged(PRInt32 index, PRInt32 count); \
  233.   NS_IMETHOD BeginUpdateBatch(void); \
  234.   NS_IMETHOD EndUpdateBatch(void); \
  235.   NS_IMETHOD ClearStyleAndImageCaches(void); 
  236.  
  237. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  238. #define NS_FORWARD_NSITREEBOXOBJECT(_to) \
  239.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) { return _to GetColumns(aColumns); } \
  240.   NS_IMETHOD GetView(nsITreeView * *aView) { return _to GetView(aView); } \
  241.   NS_IMETHOD SetView(nsITreeView * aView) { return _to SetView(aView); } \
  242.   NS_IMETHOD GetFocused(PRBool *aFocused) { return _to GetFocused(aFocused); } \
  243.   NS_IMETHOD SetFocused(PRBool aFocused) { return _to SetFocused(aFocused); } \
  244.   NS_IMETHOD GetTreeBody(nsIDOMElement * *aTreeBody) { return _to GetTreeBody(aTreeBody); } \
  245.   NS_IMETHOD GetRowHeight(PRInt32 *aRowHeight) { return _to GetRowHeight(aRowHeight); } \
  246.   NS_IMETHOD GetFirstVisibleRow(PRInt32 *_retval) { return _to GetFirstVisibleRow(_retval); } \
  247.   NS_IMETHOD GetLastVisibleRow(PRInt32 *_retval) { return _to GetLastVisibleRow(_retval); } \
  248.   NS_IMETHOD GetPageLength(PRInt32 *_retval) { return _to GetPageLength(_retval); } \
  249.   NS_IMETHOD EnsureRowIsVisible(PRInt32 index) { return _to EnsureRowIsVisible(index); } \
  250.   NS_IMETHOD ScrollToRow(PRInt32 index) { return _to ScrollToRow(index); } \
  251.   NS_IMETHOD ScrollByLines(PRInt32 numLines) { return _to ScrollByLines(numLines); } \
  252.   NS_IMETHOD ScrollByPages(PRInt32 numPages) { return _to ScrollByPages(numPages); } \
  253.   NS_IMETHOD Invalidate(void) { return _to Invalidate(); } \
  254.   NS_IMETHOD InvalidateColumn(nsITreeColumn *col) { return _to InvalidateColumn(col); } \
  255.   NS_IMETHOD InvalidateRow(PRInt32 index) { return _to InvalidateRow(index); } \
  256.   NS_IMETHOD InvalidateCell(PRInt32 row, nsITreeColumn *col) { return _to InvalidateCell(row, col); } \
  257.   NS_IMETHOD InvalidateRange(PRInt32 startIndex, PRInt32 endIndex) { return _to InvalidateRange(startIndex, endIndex); } \
  258.   NS_IMETHOD GetRowAt(PRInt32 x, PRInt32 y, PRInt32 *_retval) { return _to GetRowAt(x, y, _retval); } \
  259.   NS_IMETHOD GetCellAt(PRInt32 x, PRInt32 y, PRInt32 *row, nsITreeColumn **col, nsACString & childElt) { return _to GetCellAt(x, y, row, col, childElt); } \
  260.   NS_IMETHOD GetCoordsForCellItem(PRInt32 row, nsITreeColumn *col, const nsACString & element, PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height) { return _to GetCoordsForCellItem(row, col, element, x, y, width, height); } \
  261.   NS_IMETHOD IsCellCropped(PRInt32 row, nsITreeColumn *col, PRBool *_retval) { return _to IsCellCropped(row, col, _retval); } \
  262.   NS_IMETHOD RowCountChanged(PRInt32 index, PRInt32 count) { return _to RowCountChanged(index, count); } \
  263.   NS_IMETHOD BeginUpdateBatch(void) { return _to BeginUpdateBatch(); } \
  264.   NS_IMETHOD EndUpdateBatch(void) { return _to EndUpdateBatch(); } \
  265.   NS_IMETHOD ClearStyleAndImageCaches(void) { return _to ClearStyleAndImageCaches(); } 
  266.  
  267. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  268. #define NS_FORWARD_SAFE_NSITREEBOXOBJECT(_to) \
  269.   NS_IMETHOD GetColumns(nsITreeColumns * *aColumns) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumns(aColumns); } \
  270.   NS_IMETHOD GetView(nsITreeView * *aView) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetView(aView); } \
  271.   NS_IMETHOD SetView(nsITreeView * aView) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetView(aView); } \
  272.   NS_IMETHOD GetFocused(PRBool *aFocused) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFocused(aFocused); } \
  273.   NS_IMETHOD SetFocused(PRBool aFocused) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFocused(aFocused); } \
  274.   NS_IMETHOD GetTreeBody(nsIDOMElement * *aTreeBody) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTreeBody(aTreeBody); } \
  275.   NS_IMETHOD GetRowHeight(PRInt32 *aRowHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowHeight(aRowHeight); } \
  276.   NS_IMETHOD GetFirstVisibleRow(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstVisibleRow(_retval); } \
  277.   NS_IMETHOD GetLastVisibleRow(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastVisibleRow(_retval); } \
  278.   NS_IMETHOD GetPageLength(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPageLength(_retval); } \
  279.   NS_IMETHOD EnsureRowIsVisible(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnsureRowIsVisible(index); } \
  280.   NS_IMETHOD ScrollToRow(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollToRow(index); } \
  281.   NS_IMETHOD ScrollByLines(PRInt32 numLines) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollByLines(numLines); } \
  282.   NS_IMETHOD ScrollByPages(PRInt32 numPages) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollByPages(numPages); } \
  283.   NS_IMETHOD Invalidate(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Invalidate(); } \
  284.   NS_IMETHOD InvalidateColumn(nsITreeColumn *col) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateColumn(col); } \
  285.   NS_IMETHOD InvalidateRow(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateRow(index); } \
  286.   NS_IMETHOD InvalidateCell(PRInt32 row, nsITreeColumn *col) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateCell(row, col); } \
  287.   NS_IMETHOD InvalidateRange(PRInt32 startIndex, PRInt32 endIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->InvalidateRange(startIndex, endIndex); } \
  288.   NS_IMETHOD GetRowAt(PRInt32 x, PRInt32 y, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowAt(x, y, _retval); } \
  289.   NS_IMETHOD GetCellAt(PRInt32 x, PRInt32 y, PRInt32 *row, nsITreeColumn **col, nsACString & childElt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellAt(x, y, row, col, childElt); } \
  290.   NS_IMETHOD GetCoordsForCellItem(PRInt32 row, nsITreeColumn *col, const nsACString & element, PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCoordsForCellItem(row, col, element, x, y, width, height); } \
  291.   NS_IMETHOD IsCellCropped(PRInt32 row, nsITreeColumn *col, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCellCropped(row, col, _retval); } \
  292.   NS_IMETHOD RowCountChanged(PRInt32 index, PRInt32 count) { return !_to ? NS_ERROR_NULL_POINTER : _to->RowCountChanged(index, count); } \
  293.   NS_IMETHOD BeginUpdateBatch(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->BeginUpdateBatch(); } \
  294.   NS_IMETHOD EndUpdateBatch(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EndUpdateBatch(); } \
  295.   NS_IMETHOD ClearStyleAndImageCaches(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearStyleAndImageCaches(); } 
  296.  
  297. #if 0
  298. /* Use the code below as a template for the implementation class for this interface. */
  299.  
  300. /* Header file */
  301. class nsTreeBoxObject : public nsITreeBoxObject
  302. {
  303. public:
  304.   NS_DECL_ISUPPORTS
  305.   NS_DECL_NSITREEBOXOBJECT
  306.  
  307.   nsTreeBoxObject();
  308.  
  309. private:
  310.   ~nsTreeBoxObject();
  311.  
  312. protected:
  313.   /* additional members */
  314. };
  315.  
  316. /* Implementation file */
  317. NS_IMPL_ISUPPORTS1(nsTreeBoxObject, nsITreeBoxObject)
  318.  
  319. nsTreeBoxObject::nsTreeBoxObject()
  320. {
  321.   /* member initializers and constructor code */
  322. }
  323.  
  324. nsTreeBoxObject::~nsTreeBoxObject()
  325. {
  326.   /* destructor code */
  327. }
  328.  
  329. /* readonly attribute nsITreeColumns columns; */
  330. NS_IMETHODIMP nsTreeBoxObject::GetColumns(nsITreeColumns * *aColumns)
  331. {
  332.     return NS_ERROR_NOT_IMPLEMENTED;
  333. }
  334.  
  335. /* attribute nsITreeView view; */
  336. NS_IMETHODIMP nsTreeBoxObject::GetView(nsITreeView * *aView)
  337. {
  338.     return NS_ERROR_NOT_IMPLEMENTED;
  339. }
  340. NS_IMETHODIMP nsTreeBoxObject::SetView(nsITreeView * aView)
  341. {
  342.     return NS_ERROR_NOT_IMPLEMENTED;
  343. }
  344.  
  345. /* attribute boolean focused; */
  346. NS_IMETHODIMP nsTreeBoxObject::GetFocused(PRBool *aFocused)
  347. {
  348.     return NS_ERROR_NOT_IMPLEMENTED;
  349. }
  350. NS_IMETHODIMP nsTreeBoxObject::SetFocused(PRBool aFocused)
  351. {
  352.     return NS_ERROR_NOT_IMPLEMENTED;
  353. }
  354.  
  355. /* readonly attribute nsIDOMElement treeBody; */
  356. NS_IMETHODIMP nsTreeBoxObject::GetTreeBody(nsIDOMElement * *aTreeBody)
  357. {
  358.     return NS_ERROR_NOT_IMPLEMENTED;
  359. }
  360.  
  361. /* readonly attribute long rowHeight; */
  362. NS_IMETHODIMP nsTreeBoxObject::GetRowHeight(PRInt32 *aRowHeight)
  363. {
  364.     return NS_ERROR_NOT_IMPLEMENTED;
  365. }
  366.  
  367. /* long getFirstVisibleRow (); */
  368. NS_IMETHODIMP nsTreeBoxObject::GetFirstVisibleRow(PRInt32 *_retval)
  369. {
  370.     return NS_ERROR_NOT_IMPLEMENTED;
  371. }
  372.  
  373. /* long getLastVisibleRow (); */
  374. NS_IMETHODIMP nsTreeBoxObject::GetLastVisibleRow(PRInt32 *_retval)
  375. {
  376.     return NS_ERROR_NOT_IMPLEMENTED;
  377. }
  378.  
  379. /* long getPageLength (); */
  380. NS_IMETHODIMP nsTreeBoxObject::GetPageLength(PRInt32 *_retval)
  381. {
  382.     return NS_ERROR_NOT_IMPLEMENTED;
  383. }
  384.  
  385. /* void ensureRowIsVisible (in long index); */
  386. NS_IMETHODIMP nsTreeBoxObject::EnsureRowIsVisible(PRInt32 index)
  387. {
  388.     return NS_ERROR_NOT_IMPLEMENTED;
  389. }
  390.  
  391. /* void scrollToRow (in long index); */
  392. NS_IMETHODIMP nsTreeBoxObject::ScrollToRow(PRInt32 index)
  393. {
  394.     return NS_ERROR_NOT_IMPLEMENTED;
  395. }
  396.  
  397. /* void scrollByLines (in long numLines); */
  398. NS_IMETHODIMP nsTreeBoxObject::ScrollByLines(PRInt32 numLines)
  399. {
  400.     return NS_ERROR_NOT_IMPLEMENTED;
  401. }
  402.  
  403. /* void scrollByPages (in long numPages); */
  404. NS_IMETHODIMP nsTreeBoxObject::ScrollByPages(PRInt32 numPages)
  405. {
  406.     return NS_ERROR_NOT_IMPLEMENTED;
  407. }
  408.  
  409. /* void invalidate (); */
  410. NS_IMETHODIMP nsTreeBoxObject::Invalidate()
  411. {
  412.     return NS_ERROR_NOT_IMPLEMENTED;
  413. }
  414.  
  415. /* void invalidateColumn (in nsITreeColumn col); */
  416. NS_IMETHODIMP nsTreeBoxObject::InvalidateColumn(nsITreeColumn *col)
  417. {
  418.     return NS_ERROR_NOT_IMPLEMENTED;
  419. }
  420.  
  421. /* void invalidateRow (in long index); */
  422. NS_IMETHODIMP nsTreeBoxObject::InvalidateRow(PRInt32 index)
  423. {
  424.     return NS_ERROR_NOT_IMPLEMENTED;
  425. }
  426.  
  427. /* void invalidateCell (in long row, in nsITreeColumn col); */
  428. NS_IMETHODIMP nsTreeBoxObject::InvalidateCell(PRInt32 row, nsITreeColumn *col)
  429. {
  430.     return NS_ERROR_NOT_IMPLEMENTED;
  431. }
  432.  
  433. /* void invalidateRange (in long startIndex, in long endIndex); */
  434. NS_IMETHODIMP nsTreeBoxObject::InvalidateRange(PRInt32 startIndex, PRInt32 endIndex)
  435. {
  436.     return NS_ERROR_NOT_IMPLEMENTED;
  437. }
  438.  
  439. /* long getRowAt (in long x, in long y); */
  440. NS_IMETHODIMP nsTreeBoxObject::GetRowAt(PRInt32 x, PRInt32 y, PRInt32 *_retval)
  441. {
  442.     return NS_ERROR_NOT_IMPLEMENTED;
  443. }
  444.  
  445. /* void getCellAt (in long x, in long y, out long row, out nsITreeColumn col, out ACString childElt); */
  446. NS_IMETHODIMP nsTreeBoxObject::GetCellAt(PRInt32 x, PRInt32 y, PRInt32 *row, nsITreeColumn **col, nsACString & childElt)
  447. {
  448.     return NS_ERROR_NOT_IMPLEMENTED;
  449. }
  450.  
  451. /* void getCoordsForCellItem (in long row, in nsITreeColumn col, in ACString element, out long x, out long y, out long width, out long height); */
  452. NS_IMETHODIMP nsTreeBoxObject::GetCoordsForCellItem(PRInt32 row, nsITreeColumn *col, const nsACString & element, PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
  453. {
  454.     return NS_ERROR_NOT_IMPLEMENTED;
  455. }
  456.  
  457. /* boolean isCellCropped (in long row, in nsITreeColumn col); */
  458. NS_IMETHODIMP nsTreeBoxObject::IsCellCropped(PRInt32 row, nsITreeColumn *col, PRBool *_retval)
  459. {
  460.     return NS_ERROR_NOT_IMPLEMENTED;
  461. }
  462.  
  463. /* void rowCountChanged (in long index, in long count); */
  464. NS_IMETHODIMP nsTreeBoxObject::RowCountChanged(PRInt32 index, PRInt32 count)
  465. {
  466.     return NS_ERROR_NOT_IMPLEMENTED;
  467. }
  468.  
  469. /* void beginUpdateBatch (); */
  470. NS_IMETHODIMP nsTreeBoxObject::BeginUpdateBatch()
  471. {
  472.     return NS_ERROR_NOT_IMPLEMENTED;
  473. }
  474.  
  475. /* void endUpdateBatch (); */
  476. NS_IMETHODIMP nsTreeBoxObject::EndUpdateBatch()
  477. {
  478.     return NS_ERROR_NOT_IMPLEMENTED;
  479. }
  480.  
  481. /* void clearStyleAndImageCaches (); */
  482. NS_IMETHODIMP nsTreeBoxObject::ClearStyleAndImageCaches()
  483. {
  484.     return NS_ERROR_NOT_IMPLEMENTED;
  485. }
  486.  
  487. /* End of implementation class template. */
  488. #endif
  489.  
  490.  
  491. #endif /* __gen_nsITreeBoxObject_h__ */
  492.